package org.reggie.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.reggie.entity.Employee;

import java.util.List;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    ///Employee接口实现了/BaseMapper<Employee>就能获得mp提供的基础方法，例如增删改查
    @Select("select * from employee")
    List<Employee> test();


}
